import { constantRoutes } from '@/router/index'
export default {
  state() {
    return {
      menuList: []
    }
  },
  mutations: {
    setMenuList(state, asyncRoutes) {
      state.menuList = [...constantRoutes, ...asyncRoutes]
    }
  },
  actions: {
  },
  getters: {},
  namespaced: true
}
